<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-qiyongyuan-edit" th:object="${qiyongyuan}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">病人名称：</label>
                <div class="col-sm-8">
                    <input id="bingrenId" name="bingrenId" th:field="*{bingrenId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">疾病类型：</label>
                <div class="col-sm-8">
                    <input id="jibingType" name="jibingType" th:field="*{jibingType}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">预案类型：</label>
                <div class="col-sm-8">
                    <input id="jibingCode" name="jibingCode" th:field="*{jibingCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">启用预案人：</label>
                <div class="col-sm-8">
                    <input id="qiyongyuanRen" name="qiyongyuanRen" th:field="*{qiyongyuanRen}" class="form-control" type="text">
                </div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/qiyongyuan"
		$("#form-qiyongyuan-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-qiyongyuan-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
